package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmChannelDto;
import com.heima.model.wemedia.pojos.WmChannel;

public interface WmChannelService extends IService<WmChannel> {

    /**
     * 查询所有频道
     * @return
     */
    ResponseResult findAll();
//删除频道
    ResponseResult delectChannel(Integer id);

//分页查询
    ResponseResult list(WmChannelDto wmChannelDto);

    //更新频道
    ResponseResult update(WmChannel wmChannel);
//新增频道
    ResponseResult insert(WmChannel wmChannel);


}
